package com.xinghanlaser.applet.base.common.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * Created by dym on 2019/9/21.
 */
@Getter
@AllArgsConstructor
public enum ResponseCodeEnum {
    // 只返回响应码（成功响应）
    OK(0, "成功响应"),

    // 请求错误
    FAULT_DEFAULT(2000, "服务异常"),

    // security 认证错误返回
    UN_AUTH(2001, "接口认证失败"),

    // security Token错误
    UN_AUTH_TOKEN(2002, "Token认证失败")


;


    private final int code;
    private final String msg;

}
